package com.lrkj.property.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 业主门禁对象 tm_owner_door
 *
 * @author yajun_ren
 * @date 2021-08-18
 */
public class OwnerDoor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 门禁主键id */
    private String id;

    /** 业主id */
    @Excel(name = "业主id")
    private String parentId;

    /** $column.columnComment */
    @Excel(name = "业主id")
    private String parentIds;

    /** 门禁卡号 */
    @Excel(name = "门禁卡号")
    private String doorNo;

    /** 门禁卡内码 */
    @Excel(name = "门禁卡内码")
    private String doorCode;

    /** 开门密码 */
    @Excel(name = "开门密码")
    private String password;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 状态(启用；禁用) */
    @Excel(name = "状态(启用；禁用)")
    private String statusCd;

    /** 逻辑删除标识(0-正常；1-删除) */
    @Excel(name = "逻辑删除标识(0-正常；1-删除)")
    private String isDeleted;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public String getParentId()
    {
        return parentId;
    }
    public void setParentIds(String parentIds)
    {
        this.parentIds = parentIds;
    }

    public String getParentIds()
    {
        return parentIds;
    }
    public void setDoorNo(String doorNo)
    {
        this.doorNo = doorNo;
    }

    public String getDoorNo()
    {
        return doorNo;
    }
    public void setDoorCode(String doorCode)
    {
        this.doorCode = doorCode;
    }

    public String getDoorCode()
    {
        return doorCode;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setStatusCd(String statusCd)
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd()
    {
        return statusCd;
    }
    public void setIsDeleted(String isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public String getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("parentIds", getParentIds())
            .append("doorNo", getDoorNo())
            .append("doorCode", getDoorCode())
            .append("password", getPassword())
            .append("createDate", getCreateDate())
            .append("createBy", getCreateBy())
            .append("updateDate", getUpdateDate())
            .append("updateBy", getUpdateBy())
            .append("statusCd", getStatusCd())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
